<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!DOCTYPE html><html xmlns="http://www.w3.org/1999/xhtml">
  <head>
    <title>glRenderbufferStorageMultisample - OpenGL ES 3 Reference Pages</title>
    <link rel="stylesheet" type="text/css" href="opengl-man.css"/>
    <meta name="generator" content="DocBook XSL Stylesheets V1.78.1"/>
    <script type="text/x-mathjax-config">
            MathJax.Hub.Config({
                MathML: {
                    extensions: ["content-mathml.js"]
                },
                tex2jax: {
                    inlineMath: [['$','$'], ['\\(','\\)']]
                }
            });
        </script>
    <script type="text/javascript" src="https://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML"/>
  </head>
  <body>
    <header/>
    <div class="refentry" id="glRenderbufferStorageMultisample">
      <div class="titlepage"/>
      <div class="refnamediv">
        <h2>Name</h2>
        <p>glRenderbufferStorageMultisample — establish data storage, format, dimensions and sample count of a renderbuffer object's image</p>
      </div>
      <div class="refsynopsisdiv">
        <h2>C Specification</h2>
        <div class="funcsynopsis">
          <table style="border: 0; cellspacing: 0; cellpadding: 0;" class="funcprototype-table">
            <tr>
              <td>
                <code class="funcdef">void <strong class="fsfunc">glRenderbufferStorageMultisample</strong>(</code>
              </td>
              <td>GLenum <var class="pdparam">target</var>, </td>
            </tr>
            <tr>
              <td> </td>
              <td>GLsizei <var class="pdparam">samples</var>, </td>
            </tr>
            <tr>
              <td> </td>
              <td>GLenum <var class="pdparam">internalformat</var>, </td>
            </tr>
            <tr>
              <td> </td>
              <td>GLsizei <var class="pdparam">width</var>, </td>
            </tr>
            <tr>
              <td> </td>
              <td>GLsizei <var class="pdparam">height</var><code>)</code>;</td>
            </tr>
          </table>
          <div class="funcprototype-spacer"> </div>
        </div>
      </div>
      <div class="refsect1" id="parameters">
        <h2>Parameters</h2>
        <div class="variablelist">
          <dl class="variablelist">
            <dt>
              <span class="term">
                <em class="parameter">
                  <code>target</code>
                </em>
              </span>
            </dt>
            <dd>
              <p>
                    Specifies a binding to which the target of the allocation and must be <code class="constant">GL_RENDERBUFFER</code>.
                </p>
            </dd>
            <dt>
              <span class="term">
                <em class="parameter">
                  <code>samples</code>
                </em>
              </span>
            </dt>
            <dd>
              <p>
                    Specifies the number of samples to be used for the renderbuffer object's storage.
                </p>
            </dd>
            <dt>
              <span class="term">
                <em class="parameter">
                  <code>internalformat</code>
                </em>
              </span>
            </dt>
            <dd>
              <p>
                    Specifies the internal format to use for the renderbuffer object's image.
                </p>
            </dd>
            <dt>
              <span class="term">
                <em class="parameter">
                  <code>width</code>
                </em>
              </span>
            </dt>
            <dd>
              <p>
                    Specifies the width of the renderbuffer, in pixels.
                </p>
            </dd>
            <dt>
              <span class="term">
                <em class="parameter">
                  <code>height</code>
                </em>
              </span>
            </dt>
            <dd>
              <p>
                    Specifies the height of the renderbuffer, in pixels.
                </p>
            </dd>
          </dl>
        </div>
      </div>
      <div class="refsect1" id="description">
        <h2>Description</h2>
        <p>
            <code class="function">glRenderbufferStorageMultisample</code> establishes the data storage, format, dimensions and number of
            samples of a renderbuffer object's image.
        </p>
        <p>
            The target of the operation, specified by <em class="parameter"><code>target</code></em> must be <code class="constant">GL_RENDERBUFFER</code>.
            <em class="parameter"><code>internalformat</code></em> specifies the internal format to be used for the renderbuffer object's storage and
            must be a color-renderable, depth-renderable, or stencil-renderable format, as shown in Table 1 below.
            <em class="parameter"><code>width</code></em> and <em class="parameter"><code>height</code></em> are the dimensions, in pixels, of the renderbuffer.
            Both <em class="parameter"><code>width</code></em> and <em class="parameter"><code>height</code></em> must be less than or equal to the value of
            <code class="constant">GL_MAX_RENDERBUFFER_SIZE</code>. <em class="parameter"><code>samples</code></em> specifies the number of samples to be used
            for the renderbuffer object's image. If <em class="parameter"><code>internalformat</code></em> is a signed or unsigned integer format then
                        <em class="parameter"><code>samples</code></em> must be 0.  Otherwise, <em class="parameter"><code>samples</code></em> must be must be less than or equal to
                        the maximum number of samples supported for <em class="parameter"><code>internalformat</code></em>.
                        (see <a class="citerefentry" href="glGetInternalformativ.xhtml"><span class="citerefentry"><span class="refentrytitle">glGetInternalformativ</span></span></a>).
        </p>
        <p>
            Upon success, <code class="function">glRenderbufferStorageMultisample</code> deletes any existing data store for the renderbuffer
            image and the contents of the data store after calling <code class="function">glRenderbufferStorageMultisample</code> are undefined.
        </p>
        <p>
            </p>
        <div class="table" id="id-1.6.5.1">
          <div class="table-title">Table 1. Sized Internal Formats</div>
          <div class="table-contents">
            <table style="border-collapse: collapse; border-top: 2px solid ; border-bottom: 2px solid ; border-left: 2px solid ; border-right: 2px solid ; ">
              <colgroup>
                <col style="text-align: left; "/>
                <col style="text-align: left; "/>
                <col style="text-align: left; "/>
                <col style="text-align: left; "/>
                <col style="text-align: left; "/>
                <col style="text-align: left; "/>
              </colgroup>
              <thead>
                <tr>
                  <th style="text-align: left; border-right: 2px solid ; border-bottom: 2px solid ; ">
                <span class="bold"><strong>Sized Internal Format</strong></span>
            </th>
                  <th style="text-align: left; border-right: 2px solid ; border-bottom: 2px solid ; ">
                <span class="bold"><strong>Base Format</strong></span>
            </th>
                  <th style="text-align: left; border-right: 2px solid ; border-bottom: 2px solid ; ">
                <span class="bold"><strong>Red Bits</strong></span>
            </th>
                  <th style="text-align: left; border-right: 2px solid ; border-bottom: 2px solid ; ">
                <span class="bold"><strong>Green Bits</strong></span>
            </th>
                  <th style="text-align: left; border-right: 2px solid ; border-bottom: 2px solid ; ">
                <span class="bold"><strong>Blue Bits</strong></span>
            </th>
                  <th style="text-align: left; border-bottom: 2px solid ; ">
                <span class="bold"><strong>Alpha Bits</strong></span>
            </th>
                </tr>
              </thead>
              <tbody>
                <tr>
                  <td style="text-align: left; border-right: 2px solid ; border-bottom: 2px solid ; ">
                    <code class="constant">GL_R8</code>
                  </td>
                  <td style="text-align: left; border-right: 2px solid ; border-bottom: 2px solid ; ">
                    <code class="constant">GL_RED</code>
                  </td>
                  <td style="text-align: left; border-right: 2px solid ; border-bottom: 2px solid ; ">8</td>
                  <td style="text-align: left; border-right: 2px solid ; border-bottom: 2px solid ; "> </td>
                  <td style="text-align: left; border-right: 2px solid ; border-bottom: 2px solid ; "> </td>
                  <td style="text-align: left; border-bottom: 2px solid ; "> </td>
                </tr>
                <tr>
                  <td style="text-align: left; border-right: 2px solid ; border-bottom: 2px solid ; ">
                    <code class="constant">GL_R8UI</code>
                  </td>
                  <td style="text-align: left; border-right: 2px solid ; border-bottom: 2px solid ; ">
                    <code class="constant">GL_RED_INTEGER</code>
                  </td>
                  <td style="text-align: left; border-right: 2px solid ; border-bottom: 2px solid ; ">ui8</td>
                  <td style="text-align: left; border-right: 2px solid ; border-bottom: 2px solid ; "> </td>
                  <td style="text-align: left; border-right: 2px solid ; border-bottom: 2px solid ; "> </td>
                  <td style="text-align: left; border-bottom: 2px solid ; "> </td>
                </tr>
                <tr>
                  <td style="text-align: left; border-right: 2px solid ; border-bottom: 2px solid ; ">
                    <code class="constant">GL_R8I</code>
                  </td>
                  <td style="text-align: left; border-right: 2px solid ; border-bottom: 2px solid ; ">
                    <code class="constant">GL_RED_INTEGER</code>
                  </td>
                  <td style="text-align: left; border-right: 2px solid ; border-bottom: 2px solid ; ">i8</td>
                  <td style="text-align: left; border-right: 2px solid ; border-bottom: 2px solid ; "> </td>
                  <td style="text-align: left; border-right: 2px solid ; border-bottom: 2px solid ; "> </td>
                  <td style="text-align: left; border-bottom: 2px solid ; "> </td>
                </tr>
                <tr>
                  <td style="text-align: left; border-right: 2px solid ; border-bottom: 2px solid ; ">
                    <code class="constant">GL_R16UI</code>
                  </td>
                  <td style="text-align: left; border-right: 2px solid ; border-bottom: 2px solid ; ">
                    <code class="constant">GL_RED_INTEGER</code>
                  </td>
                  <td style="text-align: left; border-right: 2px solid ; border-bottom: 2px solid ; ">ui16</td>
                  <td style="text-align: left; border-right: 2px solid ; border-bottom: 2px solid ; "> </td>
                  <td style="text-align: left; border-right: 2px solid ; border-bottom: 2px solid ; "> </td>
                  <td style="text-align: left; border-bottom: 2px solid ; "> </td>
                </tr>
                <tr>
                  <td style="text-align: left; border-right: 2px solid ; border-bottom: 2px solid ; ">
                    <code class="constant">GL_R16I</code>
                  </td>
                  <td style="text-align: left; border-right: 2px solid ; border-bottom: 2px solid ; ">
                    <code class="constant">GL_RED_INTEGER</code>
                  </td>
                  <td style="text-align: left; border-right: 2px solid ; border-bottom: 2px solid ; ">i16</td>
                  <td style="text-align: left; border-right: 2px solid ; border-bottom: 2px solid ; "> </td>
                  <td style="text-align: left; border-right: 2px solid ; border-bottom: 2px solid ; "> </td>
                  <td style="text-align: left; border-bottom: 2px solid ; "> </td>
                </tr>
                <tr>
                  <td style="text-align: left; border-right: 2px solid ; border-bottom: 2px solid ; ">
                    <code class="constant">GL_R32UI</code>
                  </td>
                  <td style="text-align: left; border-right: 2px solid ; border-bottom: 2px solid ; ">
                    <code class="constant">GL_RED_INTEGER</code>
                  </td>
                  <td style="text-align: left; border-right: 2px solid ; border-bottom: 2px solid ; ">ui32</td>
                  <td style="text-align: left; border-right: 2px solid ; border-bottom: 2px solid ; "> </td>
                  <td style="text-align: left; border-right: 2px solid ; border-bottom: 2px solid ; "> </td>
                  <td style="text-align: left; border-bottom: 2px solid ; "> </td>
                </tr>
                <tr>
                  <td style="text-align: left; border-right: 2px solid ; border-bottom: 2px solid ; ">
                    <code class="constant">GL_R32I</code>
                  </td>
                  <td style="text-align: left; border-right: 2px solid ; border-bottom: 2px solid ; ">
                    <code class="constant">GL_RED_INTEGER</code>
                  </td>
                  <td style="text-align: left; border-right: 2px solid ; border-bottom: 2px solid ; ">i32</td>
                  <td style="text-align: left; border-right: 2px solid ; border-bottom: 2px solid ; "> </td>
                  <td style="text-align: left; border-right: 2px solid ; border-bottom: 2px solid ; "> </td>
                  <td style="text-align: left; border-bottom: 2px solid ; "> </td>
                </tr>
                <tr>
                  <td style="text-align: left; border-right: 2px solid ; border-bottom: 2px solid ; ">
                    <code class="constant">GL_RG8</code>
                  </td>
                  <td style="text-align: left; border-right: 2px solid ; border-bottom: 2px solid ; ">
                    <code class="constant">GL_RG</code>
                  </td>
                  <td style="text-align: left; border-right: 2px solid ; border-bottom: 2px solid ; ">8</td>
                  <td style="text-align: left; border-right: 2px solid ; border-bottom: 2px solid ; ">8</td>
                  <td style="text-align: left; border-right: 2px solid ; border-bottom: 2px solid ; "> </td>
                  <td style="text-align: left; border-bottom: 2px solid ; "> </td>
                </tr>
                <tr>
                  <td style="text-align: left; border-right: 2px solid ; border-bottom: 2px solid ; ">
                    <code class="constant">GL_RG8UI</code>
                  </td>
                  <td style="text-align: left; border-right: 2px solid ; border-bottom: 2px solid ; ">
                    <code class="constant">GL_RG_INTEGER</code>
                  </td>
                  <td style="text-align: left; border-right: 2px solid ; border-bottom: 2px solid ; ">ui8</td>
                  <td style="text-align: left; border-right: 2px solid ; border-bottom: 2px solid ; ">ui8</td>
                  <td style="text-align: left; border-right: 2px solid ; border-bottom: 2px solid ; "> </td>
                  <td style="text-align: left; border-bottom: 2px solid ; "> </td>
                </tr>
                <tr>
                  <td style="text-align: left; border-right: 2px solid ; border-bottom: 2px solid ; ">
                    <code class="constant">GL_RG8I</code>
                  </td>
                  <td style="text-align: left; border-right: 2px solid ; border-bottom: 2px solid ; ">
                    <code class="constant">GL_RG_INTEGER</code>
                  </td>
                  <td style="text-align: left; border-right: 2px solid ; border-bottom: 2px solid ; ">i8</td>
                  <td style="text-align: left; border-right: 2px solid ; border-bottom: 2px solid ; ">i8</td>
                  <td style="text-align: left; border-right: 2px solid ; border-bottom: 2px solid ; "> </td>
                  <td style="text-align: left; border-bottom: 2px solid ; "> </td>
                </tr>
                <tr>
                  <td style="text-align: left; border-right: 2px solid ; border-bottom: 2px solid ; ">
                    <code class="constant">GL_RG16UI</code>
                  </td>
                  <td style="text-align: left; border-right: 2px solid ; border-bottom: 2px solid ; ">
                    <code class="constant">GL_RG_INTEGER</code>
                  </td>
                  <td style="text-align: left; border-right: 2px solid ; border-bottom: 2px solid ; ">ui16</td>
                  <td style="text-align: left; border-right: 2px solid ; border-bottom: 2px solid ; ">ui16</td>
                  <td style="text-align: left; border-right: 2px solid ; border-bottom: 2px solid ; "> </td>
                  <td style="text-align: left; border-bottom: 2px solid ; "> </td>
                </tr>
                <tr>
                  <td style="text-align: left; border-right: 2px solid ; border-bottom: 2px solid ; ">
                    <code class="constant">GL_RG16I</code>
                  </td>
                  <td style="text-align: left; border-right: 2px solid ; border-bottom: 2px solid ; ">
                    <code class="constant">GL_RG_INTEGER</code>
                  </td>
                  <td style="text-align: left; border-right: 2px solid ; border-bottom: 2px solid ; ">i16</td>
                  <td style="text-align: left; border-right: 2px solid ; border-bottom: 2px solid ; ">i16</td>
                  <td style="text-align: left; border-right: 2px solid ; border-bottom: 2px solid ; "> </td>
                  <td style="text-align: left; border-bottom: 2px solid ; "> </td>
                </tr>
                <tr>
                  <td style="text-align: left; border-right: 2px solid ; border-bottom: 2px solid ; ">
                    <code class="constant">GL_RG32UI</code>
                  </td>
                  <td style="text-align: left; border-right: 2px solid ; border-bottom: 2px solid ; ">
                    <code class="constant">GL_RG_INTEGER</code>
                  </td>
                  <td style="text-align: left; border-right: 2px solid ; border-bottom: 2px solid ; ">ui32</td>
                  <td style="text-align: left; border-right: 2px solid ; border-bottom: 2px solid ; ">ui32</td>
                  <td style="text-align: left; border-right: 2px solid ; border-bottom: 2px solid ; "> </td>
                  <td style="text-align: left; border-bottom: 2px solid ; "> </td>
                </tr>
                <tr>
                  <td style="text-align: left; border-right: 2px solid ; border-bottom: 2px solid ; ">
                    <code class="constant">GL_RG32I</code>
                  </td>
                  <td style="text-align: left; border-right: 2px solid ; border-bottom: 2px solid ; ">
                    <code class="constant">GL_RG_INTEGER</code>
                  </td>
                  <td style="text-align: left; border-right: 2px solid ; border-bottom: 2px solid ; ">i32</td>
                  <td style="text-align: left; border-right: 2px solid ; border-bottom: 2px solid ; ">i32</td>
                  <td style="text-align: left; border-right: 2px solid ; border-bottom: 2px solid ; "> </td>
                  <td style="text-align: left; border-bottom: 2px solid ; "> </td>
                </tr>
                <tr>
                  <td style="text-align: left; border-right: 2px solid ; border-bottom: 2px solid ; ">
                    <code class="constant">GL_RGB8</code>
                  </td>
                  <td style="text-align: left; border-right: 2px solid ; border-bottom: 2px solid ; ">
                    <code class="constant">GL_RGB</code>
                  </td>
                  <td style="text-align: left; border-right: 2px solid ; border-bottom: 2px solid ; ">8</td>
                  <td style="text-align: left; border-right: 2px solid ; border-bottom: 2px solid ; ">8</td>
                  <td style="text-align: left; border-right: 2px solid ; border-bottom: 2px solid ; ">8</td>
                  <td style="text-align: left; border-bottom: 2px solid ; "> </td>
                </tr>
                <tr>
                  <td style="text-align: left; border-right: 2px solid ; border-bottom: 2px solid ; ">
                    <code class="constant">GL_RGB565</code>
                  </td>
                  <td style="text-align: left; border-right: 2px solid ; border-bottom: 2px solid ; ">
                    <code class="constant">GL_RGB</code>
                  </td>
                  <td style="text-align: left; border-right: 2px solid ; border-bottom: 2px solid ; ">5</td>
                  <td style="text-align: left; border-right: 2px solid ; border-bottom: 2px solid ; ">6</td>
                  <td style="text-align: left; border-right: 2px solid ; border-bottom: 2px solid ; ">5</td>
                  <td style="text-align: left; border-bottom: 2px solid ; "> </td>
                </tr>
                <tr>
                  <td style="text-align: left; border-right: 2px solid ; border-bottom: 2px solid ; ">
                    <code class="constant">GL_RGBA8</code>
                  </td>
                  <td style="text-align: left; border-right: 2px solid ; border-bottom: 2px solid ; ">
                    <code class="constant">GL_RGBA</code>
                  </td>
                  <td style="text-align: left; border-right: 2px solid ; border-bottom: 2px solid ; ">8</td>
                  <td style="text-align: left; border-right: 2px solid ; border-bottom: 2px solid ; ">8</td>
                  <td style="text-align: left; border-right: 2px solid ; border-bottom: 2px solid ; ">8</td>
                  <td style="text-align: left; border-bottom: 2px solid ; ">8</td>
                </tr>
                <tr>
                  <td style="text-align: left; border-right: 2px solid ; border-bottom: 2px solid ; ">
                    <code class="constant">GL_SRGB8_ALPHA8</code>
                  </td>
                  <td style="text-align: left; border-right: 2px solid ; border-bottom: 2px solid ; ">
                    <code class="constant">GL_RGBA</code>
                  </td>
                  <td style="text-align: left; border-right: 2px solid ; border-bottom: 2px solid ; ">8</td>
                  <td style="text-align: left; border-right: 2px solid ; border-bottom: 2px solid ; ">8</td>
                  <td style="text-align: left; border-right: 2px solid ; border-bottom: 2px solid ; ">8</td>
                  <td style="text-align: left; border-bottom: 2px solid ; ">8</td>
                </tr>
                <tr>
                  <td style="text-align: left; border-right: 2px solid ; border-bottom: 2px solid ; ">
                    <code class="constant">GL_RGB5_A1</code>
                  </td>
                  <td style="text-align: left; border-right: 2px solid ; border-bottom: 2px solid ; ">
                    <code class="constant">GL_RGBA</code>
                  </td>
                  <td style="text-align: left; border-right: 2px solid ; border-bottom: 2px solid ; ">5</td>
                  <td style="text-align: left; border-right: 2px solid ; border-bottom: 2px solid ; ">5</td>
                  <td style="text-align: left; border-right: 2px solid ; border-bottom: 2px solid ; ">5</td>
                  <td style="text-align: left; border-bottom: 2px solid ; ">1</td>
                </tr>
                <tr>
                  <td style="text-align: left; border-right: 2px solid ; border-bottom: 2px solid ; ">
                    <code class="constant">GL_RGBA4</code>
                  </td>
                  <td style="text-align: left; border-right: 2px solid ; border-bottom: 2px solid ; ">
                    <code class="constant">GL_RGBA</code>
                  </td>
                  <td style="text-align: left; border-right: 2px solid ; border-bottom: 2px solid ; ">4</td>
                  <td style="text-align: left; border-right: 2px solid ; border-bottom: 2px solid ; ">4</td>
                  <td style="text-align: left; border-right: 2px solid ; border-bottom: 2px solid ; ">4</td>
                  <td style="text-align: left; border-bottom: 2px solid ; ">4</td>
                </tr>
                <tr>
                  <td style="text-align: left; border-right: 2px solid ; border-bottom: 2px solid ; ">
                    <code class="constant">GL_RGB10_A2</code>
                  </td>
                  <td style="text-align: left; border-right: 2px solid ; border-bottom: 2px solid ; ">
                    <code class="constant">GL_RGBA</code>
                  </td>
                  <td style="text-align: left; border-right: 2px solid ; border-bottom: 2px solid ; ">10</td>
                  <td style="text-align: left; border-right: 2px solid ; border-bottom: 2px solid ; ">10</td>
                  <td style="text-align: left; border-right: 2px solid ; border-bottom: 2px solid ; ">10</td>
                  <td style="text-align: left; border-bottom: 2px solid ; ">2</td>
                </tr>
                <tr>
                  <td style="text-align: left; border-right: 2px solid ; border-bottom: 2px solid ; ">
                    <code class="constant">GL_RGBA8UI</code>
                  </td>
                  <td style="text-align: left; border-right: 2px solid ; border-bottom: 2px solid ; ">
                    <code class="constant">GL_RGBA_INTEGER</code>
                  </td>
                  <td style="text-align: left; border-right: 2px solid ; border-bottom: 2px solid ; ">ui8</td>
                  <td style="text-align: left; border-right: 2px solid ; border-bottom: 2px solid ; ">ui8</td>
                  <td style="text-align: left; border-right: 2px solid ; border-bottom: 2px solid ; ">ui8</td>
                  <td style="text-align: left; border-bottom: 2px solid ; ">ui8</td>
                </tr>
                <tr>
                  <td style="text-align: left; border-right: 2px solid ; border-bottom: 2px solid ; ">
                    <code class="constant">GL_RGBA8I</code>
                  </td>
                  <td style="text-align: left; border-right: 2px solid ; border-bottom: 2px solid ; ">
                    <code class="constant">GL_RGBA_INTEGER</code>
                  </td>
                  <td style="text-align: left; border-right: 2px solid ; border-bottom: 2px solid ; ">i8</td>
                  <td style="text-align: left; border-right: 2px solid ; border-bottom: 2px solid ; ">i8</td>
                  <td style="text-align: left; border-right: 2px solid ; border-bottom: 2px solid ; ">i8</td>
                  <td style="text-align: left; border-bottom: 2px solid ; ">i8</td>
                </tr>
                <tr>
                  <td style="text-align: left; border-right: 2px solid ; border-bottom: 2px solid ; ">
                    <code class="constant">GL_RGB10_A2UI</code>
                  </td>
                  <td style="text-align: left; border-right: 2px solid ; border-bottom: 2px solid ; ">
                    <code class="constant">GL_RGBA_INTEGER</code>
                  </td>
                  <td style="text-align: left; border-right: 2px solid ; border-bottom: 2px solid ; ">ui10</td>
                  <td style="text-align: left; border-right: 2px solid ; border-bottom: 2px solid ; ">ui10</td>
                  <td style="text-align: left; border-right: 2px solid ; border-bottom: 2px solid ; ">ui10</td>
                  <td style="text-align: left; border-bottom: 2px solid ; ">ui2</td>
                </tr>
                <tr>
                  <td style="text-align: left; border-right: 2px solid ; border-bottom: 2px solid ; ">
                    <code class="constant">GL_RGBA16UI</code>
                  </td>
                  <td style="text-align: left; border-right: 2px solid ; border-bottom: 2px solid ; ">
                    <code class="constant">GL_RGBA_INTEGER</code>
                  </td>
                  <td style="text-align: left; border-right: 2px solid ; border-bottom: 2px solid ; ">ui16</td>
                  <td style="text-align: left; border-right: 2px solid ; border-bottom: 2px solid ; ">ui16</td>
                  <td style="text-align: left; border-right: 2px solid ; border-bottom: 2px solid ; ">ui16</td>
                  <td style="text-align: left; border-bottom: 2px solid ; ">ui16</td>
                </tr>
                <tr>
                  <td style="text-align: left; border-right: 2px solid ; border-bottom: 2px solid ; ">
                    <code class="constant">GL_RGBA16I</code>
                  </td>
                  <td style="text-align: left; border-right: 2px solid ; border-bottom: 2px solid ; ">
                    <code class="constant">GL_RGBA_INTEGER</code>
                  </td>
                  <td style="text-align: left; border-right: 2px solid ; border-bottom: 2px solid ; ">i16</td>
                  <td style="text-align: left; border-right: 2px solid ; border-bottom: 2px solid ; ">i16</td>
                  <td style="text-align: left; border-right: 2px solid ; border-bottom: 2px solid ; ">i16</td>
                  <td style="text-align: left; border-bottom: 2px solid ; ">i16</td>
                </tr>
                <tr>
                  <td style="text-align: left; border-right: 2px solid ; border-bottom: 2px solid ; ">
                    <code class="constant">GL_RGBA32I</code>
                  </td>
                  <td style="text-align: left; border-right: 2px solid ; border-bottom: 2px solid ; ">
                    <code class="constant">GL_RGBA_INTEGER</code>
                  </td>
                  <td style="text-align: left; border-right: 2px solid ; border-bottom: 2px solid ; ">i32</td>
                  <td style="text-align: left; border-right: 2px solid ; border-bottom: 2px solid ; ">i32</td>
                  <td style="text-align: left; border-right: 2px solid ; border-bottom: 2px solid ; ">i32</td>
                  <td style="text-align: left; border-bottom: 2px solid ; ">i32</td>
                </tr>
                <tr>
                  <td style="text-align: left; border-right: 2px solid ; ">
                    <code class="constant">GL_RGBA32UI</code>
                  </td>
                  <td style="text-align: left; border-right: 2px solid ; ">
                    <code class="constant">GL_RGBA_INTEGER</code>
                  </td>
                  <td style="text-align: left; border-right: 2px solid ; ">ui32</td>
                  <td style="text-align: left; border-right: 2px solid ; ">ui32</td>
                  <td style="text-align: left; border-right: 2px solid ; ">ui32</td>
                  <td style="text-align: left; ">ui32</td>
                </tr>
              </tbody>
            </table>
            <table style="border-collapse: collapse; border-top: 2px solid ; border-bottom: 2px solid ; border-left: 2px solid ; border-right: 2px solid ; ">
              <colgroup>
                <col style="text-align: left; "/>
                <col style="text-align: left; "/>
                <col style="text-align: left; "/>
                <col style="text-align: left; "/>
              </colgroup>
              <thead>
                <tr>
                  <th style="text-align: left; border-right: 2px solid ; border-bottom: 2px solid ; ">
                <span class="bold"><strong>Sized Internal Format</strong></span>
            </th>
                  <th style="text-align: left; border-right: 2px solid ; border-bottom: 2px solid ; ">
                <span class="bold"><strong>Base Format</strong></span>
            </th>
                  <th style="text-align: left; border-right: 2px solid ; border-bottom: 2px solid ; ">
                <span class="bold"><strong>Depth Bits</strong></span>
            </th>
                  <th style="text-align: left; border-bottom: 2px solid ; ">
                <span class="bold"><strong>Stencil Bits</strong></span>
            </th>
                </tr>
              </thead>
              <tbody>
                <tr>
                  <td style="text-align: left; border-right: 2px solid ; border-bottom: 2px solid ; ">
                    <code class="constant">GL_DEPTH_COMPONENT16</code>
                  </td>
                  <td style="text-align: left; border-right: 2px solid ; border-bottom: 2px solid ; ">
                    <code class="constant">GL_DEPTH_COMPONENT</code>
                  </td>
                  <td style="text-align: left; border-right: 2px solid ; border-bottom: 2px solid ; ">16</td>
                  <td style="text-align: left; border-bottom: 2px solid ; "> </td>
                </tr>
                <tr>
                  <td style="text-align: left; border-right: 2px solid ; border-bottom: 2px solid ; ">
                    <code class="constant">GL_DEPTH_COMPONENT24</code>
                  </td>
                  <td style="text-align: left; border-right: 2px solid ; border-bottom: 2px solid ; ">
                    <code class="constant">GL_DEPTH_COMPONENT</code>
                  </td>
                  <td style="text-align: left; border-right: 2px solid ; border-bottom: 2px solid ; ">24</td>
                  <td style="text-align: left; border-bottom: 2px solid ; "> </td>
                </tr>
                <tr>
                  <td style="text-align: left; border-right: 2px solid ; border-bottom: 2px solid ; ">
                    <code class="constant">GL_DEPTH_COMPONENT32F</code>
                  </td>
                  <td style="text-align: left; border-right: 2px solid ; border-bottom: 2px solid ; ">
                    <code class="constant">GL_DEPTH_COMPONENT</code>
                  </td>
                  <td style="text-align: left; border-right: 2px solid ; border-bottom: 2px solid ; ">f32</td>
                  <td style="text-align: left; border-bottom: 2px solid ; "> </td>
                </tr>
                <tr>
                  <td style="text-align: left; border-right: 2px solid ; border-bottom: 2px solid ; ">
                    <code class="constant">GL_DEPTH24_STENCIL8</code>
                  </td>
                  <td style="text-align: left; border-right: 2px solid ; border-bottom: 2px solid ; ">
                    <code class="constant">GL_DEPTH_STENCIL</code>
                  </td>
                  <td style="text-align: left; border-right: 2px solid ; border-bottom: 2px solid ; ">24</td>
                  <td style="text-align: left; border-bottom: 2px solid ; ">8</td>
                </tr>
                <tr>
                  <td style="text-align: left; border-right: 2px solid ; border-bottom: 2px solid ; ">
                    <code class="constant">GL_DEPTH32F_STENCIL8</code>
                  </td>
                  <td style="text-align: left; border-right: 2px solid ; border-bottom: 2px solid ; ">
                    <code class="constant">GL_DEPTH_STENCIL</code>
                  </td>
                  <td style="text-align: left; border-right: 2px solid ; border-bottom: 2px solid ; ">f32</td>
                  <td style="text-align: left; border-bottom: 2px solid ; ">8</td>
                </tr>
                <tr>
                  <td style="text-align: left; border-right: 2px solid ; ">
                    <code class="constant">GL_STENCIL_INDEX8</code>
                  </td>
                  <td style="text-align: left; border-right: 2px solid ; ">
                    <code class="constant">GL_STENCIL</code>
                  </td>
                  <td style="text-align: left; border-right: 2px solid ; "> </td>
                  <td style="text-align: left; ">8</td>
                </tr>
              </tbody>
            </table>
          </div>
        </div>
        <p><br class="table-break"/>
        </p>
      </div>
      <div class="refsect1" id="notes">
        <h2>Notes</h2>
        <p>
            Since different implementations may support different sample counts for multisample
                        rendering, the actual number of samples allocated for the renderbuffer image is
                        implementation-dependent. However, the resulting value for <code class="constant">GL_RENDERBUFFER_SAMPLES</code>
                        is guaranteed to be greater than or equal to <em class="parameter"><code>samples</code></em> and no more than the
                        next larger sample count supported by the implementation.
        </p>
      </div>
      <div class="refsect1" id="errors">
        <h2>Errors</h2>
        <p>
            <code class="constant">GL_INVALID_ENUM</code> is generated if <em class="parameter"><code>target</code></em> is not <code class="constant">GL_RENDERBUFFER</code>.
        </p>
        <p>
            <code class="constant">GL_INVALID_VALUE</code> is generated if <em class="parameter"><code>samples</code></em> is greater than the maximum number of samples
                        supported for <em class="parameter"><code>internalformat</code></em>.
        </p>
        <p>
            <code class="constant">GL_INVALID_ENUM</code> is generated if <em class="parameter"><code>internalformat</code></em> is not a color-renderable, depth-renderable,
            or stencil-renderable format.
        </p>
        <p>
            <code class="constant">GL_INVALID_OPERATION</code> is generated if <em class="parameter"><code>internalformat</code></em> is a signed or unsigned integer format
            and <em class="parameter"><code>samples</code></em> is greater than 0.
        </p>
        <p>
            <code class="constant">GL_INVALID_VALUE</code> is generated if either of <em class="parameter"><code>width</code></em> or <em class="parameter"><code>height</code></em> is negative,
            or greater than the value of <code class="constant">GL_MAX_RENDERBUFFER_SIZE</code>.
        </p>
        <p>
            <code class="constant">GL_OUT_OF_MEMORY</code> is generated if the GL is unable to create a data store of the requested size.
        </p>
      </div>
      <div class="refsect1" id="versions">
        <h2>API Version Support</h2>
        <div class="informaltable">
          <table style="border-collapse: collapse; border-top: 2px solid ; border-bottom: 2px solid ; border-left: 2px solid ; border-right: 2px solid ; ">
            <colgroup>
              <col style="text-align: left; "/>
              <col style="text-align: center; " class="firstvers"/>
              <col style="text-align: center; " class="lastvers"/>
            </colgroup>
            <thead>
              <tr>
                <th style="text-align: left; border-right: 2px solid ; ">
                 
            </th>
                <th style="text-align: center; border-bottom: 2px solid ; " colspan="2">
                <span class="bold"><strong>OpenGL ES API Version</strong></span>
            </th>
              </tr>
              <tr>
                <th style="text-align: left; border-right: 2px solid ; border-bottom: 2px solid ; ">
                <span class="bold"><strong>Function Name</strong></span>
            </th>
                <th style="text-align: center; border-right: 2px solid ; border-bottom: 2px solid ; ">
                <span class="bold"><strong>2.0</strong></span>
            </th>
                <th style="text-align: center; border-bottom: 2px solid ; ">
                <span class="bold"><strong>3.0</strong></span>
            </th>
              </tr>
            </thead>
            <tbody>
              <tr>
                <td style="text-align: left; border-right: 2px solid ; ">glRenderbufferStorageMultisample</td>
                <td style="text-align: center; border-right: 2px solid ; ">-</td>
                <td style="text-align: center; ">✔</td>
              </tr>
            </tbody>
          </table>
        </div>
      </div>
      <div class="refsect1" id="seealso">
        <h2>See Also</h2>
        <p>
            <a class="citerefentry" href="glGenRenderbuffers.xhtml"><span class="citerefentry"><span class="refentrytitle">glGenRenderbuffers</span></span></a>,
                        <a class="citerefentry" href="glGetInternalformativ.xhtml"><span class="citerefentry"><span class="refentrytitle">glGetInternalformativ</span></span></a>,
            <a class="citerefentry" href="glBindRenderbuffer.xhtml"><span class="citerefentry"><span class="refentrytitle">glBindRenderbuffer</span></span></a>,
            <a class="citerefentry" href="glRenderbufferStorage.xhtml"><span class="citerefentry"><span class="refentrytitle">glRenderbufferStorage</span></span></a>,
            <a class="citerefentry" href="glFramebufferRenderbuffer.xhtml"><span class="citerefentry"><span class="refentrytitle">glFramebufferRenderbuffer</span></span></a>,
            <a class="citerefentry" href="glDeleteRenderbuffers.xhtml"><span class="citerefentry"><span class="refentrytitle">glDeleteRenderbuffers</span></span></a>
        </p>
      </div>
      <div class="refsect1" id="Copyright">
        <h2>Copyright</h2>
        <p>
            Copyright <span class="trademark"/>© 2010-2014 Khronos Group.
            This material may be distributed subject to the terms and conditions set forth in
            the Open Publication License, v 1.0, 8 June 1999.
            <a class="link" href="http://opencontent.org/openpub/" target="_top">http://opencontent.org/openpub/</a>.
        </p>
      </div>
    </div>
    <footer/>
  </body>
</html>
